package com.wlzg.collectiontool.view

import android.content.Context
import android.view.View
import com.lxj.xpopup.core.CenterPopupView
import com.lxj.xpopup.core.PositionPopupView
import com.wlzg.collectiontool.R
import kotlinx.android.synthetic.main.dia_jiaohe.view.*

class JiaoheDia(var mContext:Context, var mFragment:InvestMapFragment) : CenterPopupView(mContext),
    View.OnClickListener {
    override fun getImplLayoutId(): Int {
        return R.layout.dia_jiaohe
    }

    override fun onCreate() {
        super.onCreate()
         diss.setOnClickListener(this)


    }

    override fun onClick(p0: View?) {
      when(p0?.id){
          R.id.diss->{
              dismiss()
          }

      }
    }
}